import axios from "../request";
// 基础信息分
export const BasicInfoEvaluation = (objscore) => {
    // console.log('objscore',objscore);
    return axios({
        method: 'put',
        url: '/test/scoring/BasicInfoEvaluation',
        data: objscore
    })
}
// 业务分评价
export const BusinessEvaluation = (obj) => {
    // console.log('o',obj);
    return axios({
        method: 'put',
        url: '/test/scoring/BusinessEvaluation',
        data: obj
    })
}
// 评分
export const starTotal = (obj) => {
    console.log('star', obj);
    return axios({
        method: 'put',
        url: '/test/scoring/Total',
        data: obj
    })
}
// 所有评价标准
export const BasicInfoscore = () => {
    return axios({
        method: 'get',
        url: "/test/scoring/BasicInfoEvaluation"
    })
}
// 单个导游总评价
export const tourevaluation = (id) => {
    console.log('id',id);
    return axios({
        method: 'put',
        url: `/test/scoring/star/${id}`
    })
}
// 可读消息人员查询
export const guideInfoApi = (pageData) => {
    console.log('pageData',pageData);
    return axios({
        method: 'get',
        url: `/test/message/issend`,
        params:{
            pageNum:pageData.currentPage,
            pageSize:pageData.pageSize
        }
    })
}

// 导游基本信息展示
export const tourInfoApi=(currentPage,pageSize)=>{
    console.log('分页',currentPage,pageSize);
    return axios({
        method:'get',
        url:`/test/user/selectUserDaoyou/${pageSize}/${currentPage}`
    })
}